added build script
move classes declaration to separate files for swig