Add needed librarys and add Main.java