Moved core and network classes to lib
Added missing files