Added initial android stuff. Also wrote basic design for rules and routes.