Added comments, todo's, reformated code and did some other booring things