RDOTraceUpdater class made static
model structure helper methods and classes moved to a separate file
model structure helper: caching hashmaps changed to arraylists
changed order of adding patterns and resources to database (#6)

Now patterns are added first and resources after them.
corrected order of adding resources erasure to database (#6)

Resource erasure is now added to database after the actual
operation it was performed in (it used to be always added after
Begin Operation).