Removed test code; Updated MainActivity to Xtend