Added initial implementation of frontend