Clean up warning over classes raw type
Converted lazy start policy
Specified the 1.5 SE as execution environment
Clean up warnings (unused imports never read variables)
Use casting for the correct return type