Merging Front end and Back end