updated API to work with types
removed unused code
converted project to a eclipse plugin project
added required execution environment