Added much comments and separated OBJECTS into a different file