Fixed all basic warnings and ran some tests, TODO: fix basic projects.