Extract main activity constructor methods
Rename routine json