removed not needed stuff
fixed issue #3
refactored everything
fixed import and export funcitons
added promotion
fixed issue #4 and issue #5