Initial commit
COP code and libs
Reformat code structure