Created library and function files and started building main program