Added stubs for profile and profile by. Added the metadata/by search section for submitting Lucene queries to the system.