wrapped everyting in functions
combine all code into one backend file
initialize pennant as module
added a function for the lazy
fix weird function annotation bug