added activities, services and monkey support. fixed runtime