Fixed FD
Added ability to run from console. Updated some methods.