add pkglst.py script; and add a build system similar to android build system