Source -> src
add .gitignore
slightly refactor CMakeLists.txt & add apr detection