First Approach

No real debugging, parse message function isn't optimized