draw rects and lines, manually made classes

but no real class syntax, not fully debugged