Implemented some database functions, fixed some problems with the packet class,  and created a way to load and save server properties.