refactored marker object into seperate file