Made menu and wrote some functions

I did a lot in this commit.