Added GetOpts Class, needs large modifications to reach working status