Cleanup the source and maven dependencies

Description:
1. Remove unneeded code
2. Setup maven dependencies to make it easier to maintain and execute