reorganize code a bit
add new build dir and gitignore