Removed useless stuff, added init-repository script
File permissions