removed activity and make it a library