Separating main phpconsole.php file from CodeIgniter code

Signed-off-by: Peter Legierski <peter@legierski.net>
Merge branch 'feature-separate' into develop
Merge branch 'develop'