completed phases 1-3 & attemptedto complete phase 4

pull request please.
-Tyler