Defined interfaces and Server's Main.