Cleaned up git. Created seperate file for list function.