Major update. Rewrite of featurestore to comply with jquery API.