refactor of stuff from main to view, also changed radius of points to make them more visible