Added build directories to ignore list.
Finished shuffling code around, need to test!