Workflow and Features.
User Module:
Login success >> 
		profile.php
		Only the role as ‘a' can update user status and role, and can access user_list.php. codeline: if (in_array('a', $roles));
		User can apply to create business once in 4 hours;
Login Fail >>
		register.php
Password Wrong>>
		reset_password.php
		Users can recover passwords from email;
Business Module
user has a role as c can create business>>
		create_business.php
		Only status as approved and role as c can create business; 
Business insertion will be added in the relation table with member_id and business_id entries.
Business insertion will be added in the settings table with option_name, option_value and json_options entries.
Business creation can specify the grand total, approved IDs, min-max funding value. 

show_business.php
		Can show users their own business and other businesses, businesses will be categorized by business owners. Also a link to fund a business.
Funding Module
user has a role as f can funding a business>>
		fund_business.php
		Only the role as f can fund a business, funding values will be restricted by the numbers defined at business creation.
Record Module
Only  option_value from settings table is approved and is in assigned handlers can write records.
		create_record.php
Balance Module
users can see their profits
		balance.php


WORKFLOW:
Access index.php. Use loader and router to find relevant files, classes and methods; it first starts looking in the model folder.
The find($username) method in User class selects a user, and the login() method in Usercontroller utilizes the find method, if there’s a user exists, it directs to controller=User&action=profile. Otherwise it will stick in login.



