Code cleanup and added some simple tests
Home file now working for all directories
Added way to download binary files