Chanegd project structure

Major change to project structure. Move classes to separate files. Still
needs cleaning up. Added copyright to each file except Common, needs
credits from lua users wiki. Including "install" script...