Adding main class together with server. Probably using JSON as config file soon...