Renaming main function
adding github url references
adding catmat template pattern for testing purposes
implementing basic tests