cleaned up gradle, made fragments public so android can recreate them