cleaned up some files and fixed perms
Merge pull request #1 from unek/master

cleaned up some files and fixed perms