Moving create functionality to layout file and styling it