added new dev folder
changed some dev code and added own tests