Initial commit
Adds sources to fix #2 #3 #7 #10 #11 #14