Initial non-compiling code

Add some files form N3 lib (not all)
Fix some dependencies