Draft: rewrite build_local as class
Split the large build_local into small functions and organize them in a Builder class. Child classes implement different build methods. Currently this is only a draft and only GradleBuilder is tested. Buildozer is not ported since it's not used anymore. Raw is set as the default build method. Tests will be added later.