A modular native framework for handling low level stuff in android