committing forgotten files. Added some helper methods and some basics to __init__