Added some stuff and permisions

Storing files still not working :/