Add initial file and libraries. Needs refactoring.