Changed files permissions and added init file