Lua scripting and structure changes

Added basic Lua scripting to engine and also changed entire structure of
modules and classes to be more OO and probably also faster and more
organized. Also added loading of player sprite from accounts database,
becouse before I forgot to add it.