set up code base, cleaned up unecessary stuffs