Moved all main java code to main.java. Added login view using FXML.