Initial commit of new repository; cleans code and adds security