Version 1.0

Working version before code clean up.