Added Database Core, and finished things needed to start writing packet manager.