corrected some types and added folder structure for the client app