Added toString
Added getPosition method
Removed unused class
Removed redundant fromResource method