Write mutiple classes into one java file