Trying to get classes working

Started on classes, lot's to do to get it working yet though.