Added build system, reorganized project structure