updated the server with a different constructor to accommodate the MAIN class i built.
Created a base class for the main. still missing some methods