add servlet library and split up build files