Added main class + fixed some project settings.