Moved in an owen Package and added functionality
fixed writing and reading to/from file